Previous | Next

# toggle on

    pg.preview = toggle =
      gtk_check_button_new_with_mnemonic
        (_("Sho_w preview in image window"));

    gtk_toggle_button_set_active
        (GTK_TOGGLE_BUTTON (toggle),
         TRUE);     <— was jsvals.preview

    gtk_box_pack_start (GTK_BOX (vbox),
                        toggle, FALSE,
                        FALSE, 0);

    gtk_widget_show (toggle);

Just set that to TRUE.

Now let's try it: